package com.usercenter.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 维修工个人资料扩展
 * @TableName worker_profile
 */
@TableName(value ="worker_profile")
@Data
@EqualsAndHashCode(callSuper = true)
public class WorkerProfileExtendEntity extends UserProfileEntity {
    /**
     * 工作人员ID
     */
    @TableId(value = "worker_openid")
    private String openid;

    /**
     * 技能等级 (1-初级, 2-中级, 3-高级)
     */
    @TableField(value = "skill_level")
    private Integer skillLevel;

    /**
     * 工作年限
     */
    @TableField(value = "work_years")
    private Integer workYears;

    /**
     * 专长领域 (JSON格式)
     */
    @TableField(value = "specializations")
    private String specializations;
    
    /**
     * 证书与资质 (JSON格式)
     */
    @TableField(value = "certifications")
    private String certifications;
    
    /**
     * 工作地点偏好
     */
    @TableField(value = "location_preference")
    private String locationPreference;
} 